﻿using Coldairarrow.Entity.Ins;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Ins
{
    public interface IInsuranceBusiness
    {
        Task<PageResult<Insurance>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<Insurance> GetTheDataAsync(string id);
        Task AddDataAsync(Insurance data);
        Task UpdateDataAsync(Insurance data);
        Task DeleteDataAsync(List<string> ids);
    }
}